package com.example.dao;

import com.example.model.pojo.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserInfoDao  extends JpaRepository<UserInfo,Integer> {
   UserInfo getByEmail(String email);
   UserInfo getByPhone(String phone);
   UserInfo getByNickname(String nickname);
   UserInfo getByUuid(Integer id);
}
